using Net35.Xrm.Sdk;
using Net35.Xrm.Sdk.Query;
using System;
using System.Runtime.Serialization;
namespace Net35.Crm.Sdk.Messages
{
	[DataContract(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed class RetrieveDuplicatesRequest : OrganizationRequest
	{
		public Entity BusinessEntity
		{
			get
			{
				if (base.Parameters.Contains("BusinessEntity"))
				{
					return (Entity)base.Parameters["BusinessEntity"];
				}
				return null;
			}
			set
			{
				base.Parameters["BusinessEntity"] = value;
			}
		}
		public string MatchingEntityName
		{
			get
			{
				if (base.Parameters.Contains("MatchingEntityName"))
				{
					return (string)base.Parameters["MatchingEntityName"];
				}
				return null;
			}
			set
			{
				base.Parameters["MatchingEntityName"] = value;
			}
		}
		public PagingInfo PagingInfo
		{
			get
			{
				if (base.Parameters.Contains("PagingInfo"))
				{
					return (PagingInfo)base.Parameters["PagingInfo"];
				}
				return null;
			}
			set
			{
				base.Parameters["PagingInfo"] = value;
			}
		}
		public RetrieveDuplicatesRequest()
		{
			base.RequestName = "RetrieveDuplicates";
			this.BusinessEntity = null;
			this.MatchingEntityName = null;
			this.PagingInfo = null;
		}
	}
}
